package com.entity;

import java.util.Date;

public class Result {

    private Student student;

    private Subject subject;

    private Date examDate;

    private Integer studentResult;

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Subject getSubject() {
        return subject;
    }

    public void setSubject(Subject subject) {
        this.subject = subject;
    }

    public Date getExamDate() {
        return examDate;
    }

    public void setExamDate(Date examDate) {
        this.examDate = examDate;
    }

    public Integer getStudentResult() {
        return studentResult;
    }

    public void setStudentResult(Integer studentResult) {
        this.studentResult = studentResult;
    }

    @Override
    public String toString() {
        return "Result{" +
                "student=" + student +
                ", subject=" + subject +
                ", examDate=" + examDate +
                ", studentResult=" + studentResult +
                '}';
    }
}
